package com.hzw.video.opengl

import android.graphics.SurfaceTexture

/**
 *
 * @Author:         HuaZhongWei
 * @CreateDate:     2020/9/23 14:34
 *
 * @Description:
 *
 */
interface IDrawer {

    fun draw()
    fun setTextureID(id: Int)
    fun release()

    fun getSurfaceTexture(cb: (st: SurfaceTexture)->Unit) {}
}